package com.yupi.tangoj.model.dto.questionsubmit;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yupi.tangoj.common.PageRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionSubmitQueryRequest extends PageRequest implements Serializable{

    private Long id;
    /**
     * 编程语言
     */
    private String language;

    /**
     * 提交状态 status（0-待判题 1-判题中 2-成功 3-失败）
     */
    private Integer status;

    /**
     * 题目Id
     */
    private Long questionId;

    /**
     * 创建用户 id
     */
    private Long userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
